﻿using System;

namespace Account_Book_Contact_Class
{
    class Program
    {
        static void Main(string[] args)
        {
            Book bk1 = new Book("C++", "Raihan", "15", "Programming", 5);
            Book bk2 = new Book("C", "Al", "17", "Programming", 3);
            Book bk3 = new Book("Java", "Mamun", "18", "Programming", 2);

            Console.WriteLine(Book.ShowTotalBookInfo());

            Account acc1 = new Account("Raihan", "15", 500);
            Account acc2 = new Account("Mamun", "16", 1500);

            Console.WriteLine("ID : " + acc1.GetID() + "\tBalance = " + acc1.GetBalance());
            Console.WriteLine("ID : " + acc2.GetID() + "\tBalance = " + acc2.GetBalance());

            Console.WriteLine(acc1.Transfer(500, acc2));

            Console.WriteLine("ID : " + acc1.GetID() + "\tBalance = " + acc1.GetBalance());
            Console.WriteLine("ID : " + acc2.GetID() + "\tBalance = " + acc2.GetBalance());

            Contact ct1 = new Contact("Raihan","15",21,"01965561196",'M');
            ct1.ShowPersonInfo();
            Console.WriteLine("Operator : " + ct1.DetectMobileOperator());





        }
    }
}
